include ../../../../mk/Makefile.root.include
include ../../../../mk/Makefile.libs.include
HIDE=

CUR_PROJ_DIR	:= ../../../

#only compile One source code file
#PROJ_CXX_SRC = ./TestKvTable.cpp 

PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/memdb/*.cpp)
PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/memdb/impl/simple/*.cpp)
PROJ_CXX_SRC += $(wildcard $(CUR_PROJ_DIR)/memdb/error/*.cpp)


PROJ_INC_PATHES +=	$(CUR_PROJ_DIR)

PROJ_INC_PATHES +=	$(GTEST_INC_PATH) 
PROJ_LIB_PATHES += 	$(GTEST_LIB_PATH)
PROJ_LIB_NAMES 	+=  $(GTEST_LIB_NAME)

PROJ_INC_PATHES +=	$(HELPER_INC_PATH) 
PROJ_LIB_PATHES += 	$(HELPER_LIB_PATH)
PROJ_LIB_NAMES 	+=  $(HELPER_LIB_NAME)

PROJ_INC_PATHES +=	$(SQLITE_INC_PATH) 
PROJ_LIB_PATHES += 	$(SQLITE_LIB_PATH)
PROJ_LIB_NAMES 	+=  $(SQLITE_LIB_NAME)

PROJ_LIB_NAMES 	+=  pthread

PROJ_CXXFLAGS += 



all:$(TARGET_BIN)

$(TARGET_BIN):$(OBJS)
	$(DO_CPP_TARGET)

clean: 
	$(DO_CLEAN)
	rm -frv *.log

run: $(TARGET_BIN)
	$(DO_RUN_BIN)

